package com.tomorrow.runner.service.api;

import com.tomorrow.runner.data.bean.UserBean;
import com.tomorrow.runner.service.Result;

/**
 *
 * Created by tomorrow on 16-4-27.
 */
public interface IAccountService {
    Result login(String username, String pwd);
    Result logout(String username);
    Result register(UserBean userBean);
    Result updateUser(UserBean userBean);
    UserBean getUserInfo();
    boolean isLogin();
}
